import { NextRequest, NextResponse } from 'next/server';
 
export async function GET(request: NextRequest ) {
  console.log(request.nextUrl.pathname);
  console.log(request.nextUrl.searchParams.get('id'));
  console.log(request.url);
  return NextResponse.json({ 'Greeting': 'Hello, World!' });
}
